// Page requires module pattern with returning function and not object literal.
// Function is mandatory, because we need to create new instances of the page
// object.
define( function() {
	var me = this;
	me.text = "This  is the text to display";

	OTPage = function(t) {
		this.text = t;
	};

	OTPage.prototype = {
		text: this.text,
		addText: function(txt) {
			var me = this;
			me.text = txt;
			console.log("page.add");
		},
		removeText: function() {
			var me = this;
			me.text = "";
			console.log("page.remove");
		}
	};

	return OTPage;
});
